import request from './request'


// 获取借阅列表
export function findBorrowUser(user_id) {
  return request({
    url: `/borrow/findBorrowUser`,
    method: 'POST',
    data: {
      user_id
    }
  })
}


// 借阅
export function addBorrow(data) {
	return request({
		url: '/borrow/addBorrow',
		method: 'POST',
		data
	})
}